package com.mdinfo.system.service;

import com.mdinfo.base.common.bean.CommonResult;
import com.mdinfo.base.common.bean.DataGrid;
import com.mdinfo.system.param.MemberParam;
import com.mdinfo.system.vo.MemberVo;

/**
 * Created by Administrator on 2017/11/30.
 */
public interface IMemberService {

    /**
     * 新增用户
     */
    CommonResult<Void> add(MemberParam.AddParam param);

    /**
     * 用户列表
     */
    CommonResult<DataGrid<MemberVo.ListQueryVo>> listQuery(MemberParam.ListQueryParam param);

    /**
     * 修改用户
     */
    CommonResult<Void> modify(MemberParam.ModifyParam param);

    /**
     * 用户登录
     */
    CommonResult<MemberVo.LoginVo> login(MemberParam.LoginParam param);

    /**修改密码*/
    CommonResult<Void> changePass(MemberParam.ChangePassParam param);
}
